var ns;
var app = new Vue({
    el: '#app',
    data: {
        form: {
            imageurl: '../image/default_user.png',
            nickname: '匿名用户',
            sex: '',
            birthday: '',
            phoneno: '',
            firstchangebirthday: true,
            firstchangenote: ''
        }
    },
    methods: {
        do_open:function(type){
            var that=this;
            if(type==1){
                ns.openWin('dl_register_agree_frm', '用户协议',{
                    Type:type
                });
            }
            if(type==2){
                ns.openWin('dl_register_agree_frm', '隐私协议',{
                    Type:type
                });

            }
           
        }

    }
});

apiready = function() {
    api.parseTapmode();
    ns = window.Foresight.Util;


}
